package com.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 帮助菜单
 * </p>
 *
 * @author GongChengShi
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EduHelpMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 父级分类ID，默认0为一级分类
     */
    @TableField("parentId")
    private Integer parentId;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 菜单内容
     */
    private String content;

    /**
     * 排序  倒叙
     */
    private Integer sort;

    private String varchar;

    /**
     * 外链字段
     */
    private String linkBuilding;


}
